package com.aivin.leakcanarysample.bean;

import android.app.Application;
import com.aivin.leakcanarysample.MyAppLifecycleHandler;

public class MyApplication  extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        MyAppLifecycleHandler lifecycleHandler = new MyAppLifecycleHandler( ) ;
        registerActivityLifecycleCallbacks(  lifecycleHandler ) ;
    }
}
